package com.demo.socketchannel;

import lombok.Data;
import lombok.ToString;

/**
 * @author MT
 * @date 2019-12-10 11:12
 */
@Data
@ToString
public class Result {

        String msg;
        Object data;
        boolean success;
        int code;
        private static final Result INSTANCE = new Result();

        public static Result getInstance(){
            return INSTANCE;
        }
}
